import Vue from 'vue'
import App from './App'

import uView from "uview-ui";
import store from '@/store';


Vue.use(uView);
Vue.config.productionTip = false

//引入store下的mixin
// main.js
let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);

App.mpType = 'app'
// #ifdef MP
// 引入uView对小程序分享的mixin封装
const mpShare = require('@/uview-ui/libs/mixin/mpShare.js')
Vue.mixin(mpShare)
// #endif
const app = new Vue({
	store,//引入store文件
    ...App
})


// 引入请求封装
require('@/util/request/index')(app)
// import httpInterceptor from '@/common/http.interceptor.js'
// Vue.use(httpInterceptor, app)
app.$mount()





